package com.night.common.entity.attendance;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.night.common.entity.administration.Teacher;
import lombok.Data;

/**
 * @author Dark-Morning
 * 2022/10/18 20:07
 */
@Data
@ExcelIgnoreUnannotated
public class StudentAttendanceDO {
    private Integer id;
    private Integer courseManagerId;
    @ExcelProperty(value = "课程名字", index = 2)
    private String signCourse;
    @ExcelProperty(value = "课程号", index = 1)
    private String signCourseNumber;
    @ExcelProperty(value = "状态", index = 5)
    private String signState;
    @ExcelProperty(value = "签到时间", index = 6)
    private String signTime;
    private Integer StudentId;
    @ExcelProperty(value = "学号", index = 3)
    private String studentNumber;
    @ExcelProperty(value = "名字", index = 4)
    private String studentName;
    @ExcelProperty(value = "迟到理由", index = 7)
    private String lateReason;
    private String signPosition;

    private String teacherName;

    private Integer attendanceConfigId;

    public StudentAttendanceDO() {
    }

    public StudentAttendanceDO(Integer courseManagerId, String signCourse,
                               String signCourseNumber,
                               String signState, String signTime,
                               Integer studentId, String studentNumber,
                               String studentName, String lateReason,
                               String signPosition,Integer attendanceConfigId) {
        this.courseManagerId = courseManagerId;
        this.signCourse = signCourse;
        this.signCourseNumber = signCourseNumber;
        this.signState = signState;
        this.signTime = signTime;
        StudentId = studentId;
        this.studentNumber = studentNumber;
        this.studentName = studentName;
        this.lateReason = lateReason;
        this.signPosition = signPosition;
        this.attendanceConfigId = attendanceConfigId;
    }
}
